import request from '../request'
import globalConfig from "../config";

export function getAllTags(params) {
  return request({
    url: `${globalConfig.getAPIPath()}${globalConfig.vblogTag.list}`,
    method: 'get',
      params:params
  })
}

export function getHotTags() {
  return request({
    url: `${globalConfig.getAPIPath()}${globalConfig.vblogTag.list}`,
    method: 'get',
  })
}

export function getTagDetail(id) {
  return request({
    url: `${globalConfig.getAPIPath()}${globalConfig.vblogTag.info}/${id}`,
    method: 'get',
  })
}


